package cn.two.controller;

import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import cn.two.model.OaReim;
import cn.two.service.reimService;

@Controller
@RequestMapping("/reim")
public class reimController {

	@Resource
	private reimService reimService;
	
	@RequestMapping("/reimCheckAll")
	public String checkAll(HttpSession session){
		
		List<OaReim> list=reimService.checkAll();

		session.setAttribute("reimList", list);

		return "apply";
	}
}
